﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="XZKaoQinTJReport.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.XZModel.XZKaoQinTJReport" %>
<style>
    .XZKaoQinTJReporttable a{color:Blue; text-decoration:underline;}
</style>
<form id="pagerForm" method="post" action="XZModel/XZKaoQinTJReport.aspx">
<input type="hidden" name="Year" value="<%=Year %>" />
<input type="hidden" name="Month" value="<%=Month %>" />
<input type="hidden" name="orderField" value="<%=orderField %>" />
<input type="hidden" name="orderDirection" value="<%=orderDirection %>" />
</form>
<form id="XZKaoQinTJReportform1" runat="server" method="post" action="XZModel/XZKaoQinTJReport.aspx" onsubmit="return navTabSearch(this);">
<div class="pageHeader">
    <div class="searchBar">
        
        <table class="searchContent">
            <tr>
                <td>
                    请选择考勤月份:
                </td>
                <td>                   
                    <select name="Year" class="combox" onchange="return navTabSearch(XZKaoQinTJReportform1)">
                        <%=GetYearList()%>
                    </select>
                   <select name="Month" class="combox" onchange="return navTabSearch(XZKaoQinTJReportform1)">
                        <option value="1" <%=Month==1?"selected":"" %>>1月</option>
                        <option value="2" <%=Month==2?"selected":"" %>>2月</option>
                         <option value="3" <%=Month==3?"selected":"" %>>3月</option>
                         <option value="4" <%=Month==4?"selected":"" %>>4月</option>
                         <option value="5" <%=Month==5?"selected":"" %>>5月</option>
                        <option value="6" <%=Month==6?"selected":"" %>>6月</option>
                         <option value="7" <%=Month==7?"selected":"" %>>7月</option>
                         <option value="8" <%=Month==8?"selected":"" %>>8月</option>
                         <option value="9" <%=Month==9?"selected":"" %>>9月</option>
                        <option value="10" <%=Month==10?"selected":"" %>>10月</option>
                         <option value="11" <%=Month==11?"selected":"" %>>11月</option>
                         <option value="12" <%=Month==12?"selected":"" %>>12月</option>                        
                   </select>
                </td>
                <td>
                 <% if (HasPower(IHISCETeim.Web.Permission.导出))
                    {%>
                    <div class="subBar">
            <ul>
                
                <li>
                    <div class="buttonActive"><div class="buttonContent" ><a target="_blank" style=" line-height:25px!important;" href="XZModel/ExportXZKaoQinTJReport.aspx?Year=<%=Year %>&Month=<%=Month %>">导出</a></div></div>
                </li>
            </ul>
        </div>
        <%} %>
                </td>
            </tr>
        </table>
    </div>
</div>
<div class="pageContent XZKaoQinTJReporttable">
   
    <asp:repeater id="rpMenu" runat="server">
        <HeaderTemplate>
        <table class="table" width="100%" layouth="60">
        <thead>           
            <tr>
                <th width="45"   <%=GetDataListOrder("GongHao") %>>工号</th>
                <th  width="50"  <%=GetDataListOrder("RealName") %>> 姓名</th> 
                 <th  width="45"  <%=GetDataListOrder("加班次数") %>>加班次数</th>            
                <th width="45" <%=GetDataListOrder("加班小时") %>> 加班小时</th> 
                 <th width="45"  <%=GetDataListOrder("迟到次数") %>>迟到次数 </th>   

                  <th width="60" <%=GetDataListOrder("实际迟到分钟") %>> 迟到实际分钟 </th>    
                           
                <th width="60" <%=GetDataListOrder("迟到扣款分钟") %>> 迟到扣款分钟 </th>                  
                <th width="45"  <%=GetDataListOrder("早退次数") %>>早退次数</th>                  
                <th width="45" <%=GetDataListOrder("早退分钟") %>>早退分钟</th>                  
                <th width="60"  <%=GetDataListOrder("请假次数") %>> 请假实际次数</th>
                <th width="60" <%=GetDataListOrder("请假实际天数") %>>请假实际天数</th>                  
                <th width="60" <%=GetDataListOrder("请假天数") %>>请假应扣天数</th>  
                <th width="52" <%=GetDataListOrder("漏打卡次数") %>>漏打卡次数</th>                  
            </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td>
                    <%# Eval("GongHao")%>
                </td>
                <td><%# Eval("RealName")%></td>
				<td><a  href="XZModel/XZKaoQinList.aspx?GongHao=<%# Eval("GongHao") %>&KQType=<%= Server.UrlEncode("加班") %>&Year=<%=Year %>&Month=<%=Month %>&KQDateFrom=1&KQDateTo=<%=endd.Day %>" target="navTab" title="考勤记录" rel="XZKaoQinList"><%# Eval("加班次数")%></a>  </td>                
				<td><%# Convert.ToDecimal(Eval("加班小时")).ToString("F2")%></td>
                <td><a  href="XZModel/XZKaoQinList.aspx?GongHao=<%# Eval("GongHao") %>&KQType=<%= Server.UrlEncode("迟到") %>&Year=<%=Year %>&Month=<%=Month %>&KQDateFrom=1&KQDateTo=<%=endd.Day %>" target="navTab" title="考勤记录" rel="XZKaoQinList"><%# Eval("迟到次数")%></a></td>                
				<td><%# Convert.ToDouble( Eval("实际迟到分钟")).ToString("f0")%></td>
                <td><%# Eval("迟到扣款分钟")%></td>
                
                <td><a  href="XZModel/XZKaoQinList.aspx?GongHao=<%# Eval("GongHao") %>&KQType=<%= Server.UrlEncode("早退") %>&Year=<%=Year %>&Month=<%=Month %>&KQDateFrom=1&KQDateTo=<%=endd.Day %>" target="navTab" title="考勤记录" rel="XZKaoQinList"><%# Eval("早退次数")%></a></td>                
				<td><%# Convert.ToDecimal(Eval("早退分钟")).ToString("F0")%></td>
                <td><a  href="XZModel/XZKaoQinList.aspx?GongHao=<%# Eval("GongHao") %>&KQType=<%= Server.UrlEncode("请假") %>&Year=<%=Year %>&Month=<%=Month %>&KQDateFrom=1&KQDateTo=<%=endd.Day %>" target="navTab" title="考勤记录" rel="XZKaoQinList"><%# Eval("请假次数")%></a></td>                
				<td><%# Eval("请假实际天数")%></td>
                <td><%# Eval("请假天数")%></td>
                <td><a  href="XZModel/XZKaoQinList.aspx?GongHao=<%# Eval("GongHao") %>&KQType=<%= Server.UrlEncode("漏打卡") %>&Year=<%=Year %>&Month=<%=Month %>&KQDateFrom=1&KQDateTo=<%=endd.Day %>" target="navTab" title="考勤记录" rel="XZKaoQinList"><%# Convert.ToDecimal(Eval("漏打卡次数")).ToString("f0")%></a></td>
			</tr>
        </ItemTemplate>
        <FooterTemplate>           
            </tbody>
            
         </table>
        </FooterTemplate>
    </asp:repeater>
  
</div>
</form>

